package com.zhl.media.app.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Transient;

import java.util.ArrayList;
import java.util.List;

@Entity
public class Project {
    @Id
    private String id;
    //项目名称
    private String name;
    // 总安装数
    private int sumNum;
    // 已安装数
    private int yiNum;
    // 设置调整
    private int sttzNum;
    // 已调整
    private int ytzNum;
    // 设置补画
    private int ssbhNum;
    // 空余媒体位数
    private int kymtwNum;
    // 本期工作 1 是 2不是
    private int type;
    @Transient
    private List<Building> buildings  = new ArrayList<>();

    @Generated(hash = 968143808)
    public Project(String id, String name, int sumNum, int yiNum, int sttzNum, int ytzNum, int ssbhNum, int kymtwNum, int type) {
        this.id = id;
        this.name = name;
        this.sumNum = sumNum;
        this.yiNum = yiNum;
        this.sttzNum = sttzNum;
        this.ytzNum = ytzNum;
        this.ssbhNum = ssbhNum;
        this.kymtwNum = kymtwNum;
        this.type = type;
    }
    @Generated(hash = 1767516619)
    public Project() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getSumNum() {
        return this.sumNum;
    }
    public void setSumNum(int sumNum) {
        this.sumNum = sumNum;
    }
    public int getYiNum() {
        return this.yiNum;
    }
    public void setYiNum(int yiNum) {
        this.yiNum = yiNum;
    }
    public int getSttzNum() {
        return this.sttzNum;
    }
    public void setSttzNum(int sttzNum) {
        this.sttzNum = sttzNum;
    }
    public int getYtzNum() {
        return this.ytzNum;
    }
    public void setYtzNum(int ytzNum) {
        this.ytzNum = ytzNum;
    }
    public int getSsbhNum() {
        return this.ssbhNum;
    }
    public void setSsbhNum(int ssbhNum) {
        this.ssbhNum = ssbhNum;
    }
    public int getKymtwNum() {
        return this.kymtwNum;
    }
    public void setKymtwNum(int kymtwNum) {
        this.kymtwNum = kymtwNum;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }

    public List<Building> getBuildings() {
        return buildings;
    }

    public void setBuildings(List<Building> buildings) {
        this.buildings = buildings;
    }
}
